package com.woniu.cms.goods.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 当月库存盘点表
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-20
 */
@Getter
@Setter
  @TableName("cms_goods_inventory")
@ApiModel(value = "GoodsInventory对象", description = "当月库存盘点表")
public class GoodsInventory implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("所属分公司名称")
      private String comName;

      @ApiModelProperty("仓库名称")
      private String storeName;

      @ApiModelProperty("物资编码")
      private String goodsCode;

      @ApiModelProperty("物资名称")
      private String goodsName;

      @ApiModelProperty("规格型号")
      private String modelName;

      @ApiModelProperty("单位")
      private String unit;

      @ApiModelProperty("数量")
      private BigDecimal num;

      @ApiModelProperty("单价")
      private BigDecimal price;

      @ApiModelProperty("金额")
      private BigDecimal totalMoney;

      @ApiModelProperty("备注")
      private String remarks;

      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      @ApiModelProperty("盘点时间")
      private Date creatTime;

      @ApiModelProperty("0-未提交，1-已提交（审批中），2-审批通过，3-已驳回")
      private Integer status;


}
